import { Logger } from './logger'
import { NestApplication } from './nest-application'
export class NestFactory {
  static async create(module: any) {
    Logger.log('Starting Nest application...', 'NestFactory')
    // 创建应用实例
    const app = new NestApplication(module)
    return app
  }
}
